<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Step 4: (Optional) Modifying the agent_cfg.xml Backup File (Applicable to the OceanProtect E6000 Appliance)">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002200155325.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002196442054">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Step 4: (Optional) Modifying the agent_cfg.xml Backup File (Applicable to the OceanProtect E6000 Appliance)</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002196442054"></a><a name="EN-US_TOPIC_0000002196442054"></a>

<h1 class="topictitle1">Step 4: (Optional) Modifying the agent_cfg.xml Backup File<span> (Applicable to the OceanProtect E6000 Appliance)</span></h1>
<div><p>In Linux, you can select the asynchronous (async) or synchronous (sync) mode when mounting a file system. In the asynchronous mode, the performance is high because writing data to the memory is faster than to a disk. In the synchronous mode, the data security is high and data is not easily lost when the system breaks down or is powered off. The mode of mounting a file system can be configured based on site requirements.</p>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>Use PuTTY to log in to the host of a production node as user <strong>root</strong>.</span></li><li><span>Run the <strong>vim </strong><em>Root directory where the client is installed</em><strong>/DataBackup/ProtectClient/ProtectClient-E/conf/agent_cfg.xml</strong> command to open the <strong>agent_cfg.xml</strong> file.</span><p><p>Example:</p>
<pre class="screen">vim /opt/DataBackup/ProtectClient/ProtectClient-E/conf/agent_cfg.xml</pre>
</p></li><li><span>Modify the mode of mounting a file system. The default mode is async (asynchronous).</span><p><p>Change the mode of mounting a file system in the <strong>general_mount_option</strong> parameter to <strong>sync</strong>.</p>
<p><span><img src="en-us_image_0000002231611945.png"></span></p>
</p></li><li><span>Press <strong>Esc</strong>. Run the <strong>:wq!</strong> command to save the modifications and exit.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002200155325.html">Backing Up a GoldenDB Database</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>